#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int grac,char* grav[])
{
    if (grac >= 2)
    {
        for(int i = 0; i < grac; i++)
        {
            if(strcmp(grav[i],"-a") == 0)
            {
                printf("a程序执行");
            }
            else if(strcmp(grav[i],"-b") == 0)
            {
                printf("b程序执行");
            }
            else if(strcmp(grav[i],"-c") == 0)
            {
                printf("C程序执行");
            }
        }
    }
    else{
        printf("no command");
    }
    printf("%s\n", getenv("h"));
    return 0;
}

